package com.kws.commercial.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kws.commercial.dao.CommercialProjectScheduleManagement;
import com.kws.commercial.dao.Info.QueryProjectFileInfo;
import com.kws.commercial.dao.Info.QueryProjectScheduleInfo;
import com.kws.commercial.dao.Rq.CreateProjectScheduleRq;
import com.kws.commercial.dao.Rq.UploadProjectScheduleFileRq;

import java.util.List;
import java.util.Map;

public interface CommercialProjectScheduleService extends IService<CommercialProjectScheduleManagement> {
    PageInfo<QueryProjectScheduleInfo> queryProjectSchedulePage(Integer pageNum, Integer pageSize, String schemeName);

    boolean createProjectSchedule(CreateProjectScheduleRq rq);

    QueryProjectScheduleInfo queryProjectScheduleById(Long id);

    Map<String, List<QueryProjectFileInfo>> queryProjectScheduleInfoById(Long id);

    Map<String, List<QueryProjectFileInfo>> uploadProjectScheduleInfoByProjectQuotationId(UploadProjectScheduleFileRq rq);
}
